package nancal.mp.db.es.entity

import nbcp.base.db.annotation.DbEntityGroup
import nbcp.base.db.annotation.DbName
import nbcp.base.model.BaseMarkEntity
import nbcp.myoql.db.es.base.IEsDocument

@DbName("order_main")
@DbEntityGroup("system")
class OrderMain : BaseMarkEntity(), IEsDocument {
    var accountState = ""
    var activePayStartTime = ""
    var activePayTime = ""
    var appraiseState = ""
    var autarky = ""
    var cashBackMoney = 0
    var changeState = ""
    var copartnerRatio = 0
    var couponFreeMoney = 0
    var createOpeTime = ""
    var createOper = ""
    var customerName = ""
    var customerUuid = ""
    var delFlag = 0
    var delayDays = 0
    var distributionMoney = 0
    var distributionRatio = 0
    var distributorState = ""
    var endTime = ""
    var freight = 0
    var fullReduceFreeMoney = 0
    var integral = 0
    var invoiceEmail = ""
    var invoiceState = ""
    var oneProductDiscount = ""
    var opeTime = ""
    var oper = ""
    var orderDetailJson = ""
    var orderFreePrice = 0
    var orderGroupUuid = ""
    var orderId = ""
    var orderState = ""
    var orderType = ""
    var payPrice = 0
    var payPriceStr = ""
    var payRatio = 0
    var payState = ""
    var permanentDel = 0
    var platCouponFreeMoney = 0
    var refundMoney = 0
    var refundState = ""
    var returnState = ""
    var searchQuery = ""
    var sendCouponState = ""
    var sendPointsState = ""
    var serviceFee = 0
    var serviceFeeRatio = 0
    var shipType = ""
    var shopState = ""
    var startTime = ""
    var storeDiscount = ""
    var storeName = ""
    var storeSplitRatio = 0
    var storeUuid = ""
    var sunState = ""
    var tempFreight = 0
    var totalFreePrice = 0
    var totalPrice = 0
    var uuid = ""
    var version = 0
    var payType = ""
    var payTime = ""
    var sendTime = ""
    var receiveTime = ""
}